final class StillGraphic extends SceneModel {
	public boolean aBoolean1567;
	public final int anInt1560;
	public final int anInt1561;
	public final int anInt1562;
	public final int anInt1563;
	public final int anInt1564;
	private int anInt1569;
	private int anInt1570;
	private final SpotAnimation aSpotAnimation_1568;

	@Override
	public Model getRotatedModel() {
		Model model = aSpotAnimation_1568.getModel();
		if (model == null) {
			return null;
		}
		int j = aSpotAnimation_1568.aAnimation_407.anIntArray353[anInt1569];
		Model model_1 = new Model(true, FrameReader.method532(j), false,
		model);
		if (!aBoolean1567) {
			model_1.method469();
			model_1.method470(j);
			model_1.anIntArrayArray1658 = null;
			model_1.anIntArrayArray1657 = null;
		}
		if ((aSpotAnimation_1568.anInt410 != 128) || (aSpotAnimation_1568.anInt411 != 128)) {
			model_1.method478(aSpotAnimation_1568.anInt410, aSpotAnimation_1568.anInt410,
			aSpotAnimation_1568.anInt411);
		}
		if (aSpotAnimation_1568.anInt412 != 0) {
			if (aSpotAnimation_1568.anInt412 == 90) {
				model_1.method473();
			}
			if (aSpotAnimation_1568.anInt412 == 180) {
				model_1.method473();
				model_1.method473();
			}
			if (aSpotAnimation_1568.anInt412 == 270) {
				model_1.method473();
				model_1.method473();
				model_1.method473();
			}
		}
		model_1.preProcess(64 + aSpotAnimation_1568.anInt413,
		850 + aSpotAnimation_1568.anInt414, -30, -50, -30, true);
		return model_1;
	}

	public void method454(int i) {
		for (anInt1570 += i; anInt1570 > aSpotAnimation_1568.aAnimation_407.method258(anInt1569);) {
			anInt1570 -= aSpotAnimation_1568.aAnimation_407.method258(anInt1569) + 1;
			anInt1569++;
			if ((anInt1569 >= aSpotAnimation_1568.aAnimation_407.anInt352)
			&& ((anInt1569 < 0) || (anInt1569 >= aSpotAnimation_1568.aAnimation_407.anInt352))) {
				anInt1569 = 0;
				aBoolean1567 = true;
			}
		}
	}

	public StillGraphic(int i, int j, int l, int i1, int j1, int k1, int l1) {
		aBoolean1567 = false;
		aSpotAnimation_1568 = SpotAnimation.cache[i1];
		anInt1560 = i;
		anInt1561 = l1;
		anInt1562 = k1;
		anInt1563 = j1;
		anInt1564 = j + l;
		aBoolean1567 = false;
	}
}
